文章目录 python3.* python2.* file.seek是将文件游标移动到文件的任意位置,然后对文件的当前位置进行操作(增加、删除内容等) python3.* >>> help(f.seek) Help on built-in function seek: seek(cookie, whence=0, /) method of _io.TextIOWrapper instance Change st